﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Cliente
{
    class Servidor
    {
        private IPAddress ip;
        private int numPuerto;
        private int anchoDeBanda;

        public IPAddress Ip
        {
            get { return ip; }
            set { ip = value; }
        }

        public int NumPuerto
        {
            get { return numPuerto; }
            set { numPuerto = value; }
        }

        public int AnchoDeBanda
        {
            get { return anchoDeBanda; }
            set { anchoDeBanda = value; }
        }

        public Servidor(IPAddress ipServ, int puerto, int ancho)
        {
            ip = ipServ;
            numPuerto = puerto;
            anchoDeBanda = ancho;
        }
    }
}
